home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
tests
/
display.dia.ref
< prev
next >
Wrap
Text File
|
1999-09-16
|
11KB
|
283 lines
//FICHIER_DE_TEST ADD NAME=DISPLAY.TST,SSI=0
//
z=poly(0,'z')
z =
z
//lines(20,60)
format('v',10)
num=[ (((((1)*z-2.6533333)*z+2.6887936)*z-1.2916784)*z+0.2911572)*...
z-0.0243497
(((((1)*z-2.6533333)*z+2.6887936)*z-1.2916784)*z+0.2911572)*...
z-0.0243497
(((1)*z )*z )*z+1
0]
num =
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 3 !
! 1 + z !
! !
! 0 !
den = [ ((((1)*z-1.536926)*z+0.8067352)*z-0.1682810)*z+0.0113508
((((1)*z-1.536926)*z+0.8067352)*z-0.1682810)*z+0.0113508
((1)*z )*z
1]
den =
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 !
! z !
! !
! 1 !
num',den'
ans =
column 1
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
column 2
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
column 3 to 4
! 3 !
! 1 + z 0 !
ans =
column 1
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
column 2 to 4
! 2 3 4 2 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z z 1 !
[num;den]
ans =
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 3 !
! 1 + z !
! !
! 0 !
! !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 !
! z !
! !
! 1 !
[num den]
ans =
column 1
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! !
! 3 !
! 1 + z !
! !
! 0 !
column 2
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 !
! z !
! !
! 1 !
r=num./den
r =
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! ------------------------------------------------------------------ !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! ------------------------------------------------------------------ !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
! !
! 3 !
! 1 + z !
! ----- !
! 2 !
! z !
! !
! 0 !
! - !
! 1 !
r'
ans =
column 1
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! ------------------------------------------------------------------ !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
column 2
! 2 3 4 !
! - 0.0243497 + 0.2911572z - 1.2916784z + 2.6887936z - 2.6533333z !
! 5 !
! + z !
! ------------------------------------------------------------------ !
! 2 3 4 !
! 0.0113508 - 0.168281z + 0.8067352z - 1.536926z + z !
column 3 to 4
! 3 !
! 1 + z 0 !
! ----- - !
! 2 !
! z 1 !
//
digits='abcdefghijklmnopqrstuvwxyz'
digits =
abcdefghijklmnopqrstuvwxyz
numbers='1234567890'
numbers =
1234567890
majuscules='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
majuscules =
ABCDEFGHIJKLMNOPQRSTUVWXYZ
symbols=',./;''[] \ =-!\$%^&*()_+~:""[]| @'
symbols =
,./;'[] \ =-!\$%^&*()_+~:"[]| @
[numbers;digits]
ans =
!1234567890 !
! !
!abcdefghijklmnopqrstuvwxyz !
[numbers digits;digits numbers]
ans =
!1234567890 abcdefghijklmnopqrstuvwxyz !
! !
!abcdefghijklmnopqrstuvwxyz 1234567890 !
[numbers digits+digits+digits]
ans =
column 1
!1234567890 !
column 2
!abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqr!
! stuvwxyz !
ans';
[ans ans]
ans =
column 1
!1234567890 !
! !
!abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqr!
! stuvwxyz !
column 2
!1234567890 !
! !
!abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqr!
! stuvwxyz !